<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>示例4</title>
</head>
<body>
    <script>
        const arrList = {
            0: 'tom',
            1: 65,
            2: '男',
            'length':3
        }

        const arr = Array.from(arrList)
        console.log(arr)
    </script>
</body>
</html>